/*
 * InputCapture.h
 *
 *  Created on: Nov 5, 2013
 *      Author: BlackVolt
 */

#ifndef INPUTCAPTURE_H_
#define INPUTCAPTURE_H_

#include "Mytypes.h"




//Function Prototype
void vdfn_InputCapture_Init();
void vdfn_Interrupt_Handler();
void vdfn_Save_Data();


//Variables
uint16 Counter_Backup,Counter_Backup_New,Value;
uint32 Counter_Backup_OVF;
uint32 Frecuency_Divider; //Calculate the frecuency in HZ



//Flags
uint8 Frec_Flag;
uint16 Test_Counter;




#endif /* INPUTCAPTURE_H_ */
